package com.whw.fy.service;

import com.whw.fy.entity.Message;
import com.whw.fy.entity.Schedule;

import java.text.ParseException;
import java.util.Date;
import java.util.List;

public interface ScheduleService {


    Message deleteByPrimaryKey(Integer scheduleId);

    Message insert(Schedule record);

    Message insertSelective(Schedule record);

    Message selectByPrimaryKey(Integer scheduleId);

    Message updateByPrimaryKeySelective(Schedule record) throws ParseException;

    Message updateByPrimaryKey(Schedule record);

    Message selectALL();

    Message selectTodayScheduleByTeacherId(int TeacherId);

    Message selectappletByTeacherId(int teacherId);

    Message selectappletByTeacherIdAndClassId(int teacherId, int classId);

    Message selectClassStatusByScheduleId(int id) throws ParseException;

    Message selectApplet();

    Message selectByClazzIdAndTime(int clazzId, String Time) throws ParseException;

    Message selectByStudentId(int studentId) throws ParseException;

    Message selectByClassId(int classId);

    Message cheakingTeacher(Date day, int timeSkcd, int timeSkjc);

    Message cheakingRoom(Date day, int timeSkcd, int timeSkjc);

    Message selectappletByStudentId(int studentId);

    Message appletselectappletByStudentId(int studentId);

    Message selectTodayScheduleByStudentId(int studentId);

    int batchInsert(List<Schedule> list);

    Message test(int classId);

    int updateBatch(List<Schedule> list);

    int updateBatchSelective(List<Schedule> list);

    Message roomScheduleOfTheDayInDay();

    Message teacherSchedule();

    Message resourcesScheduleOfTheDayInDay();

    Message batchInsertAccordingToTheDayOfTheWeek(Schedule schedule,int times,String begindate) throws ParseException;
}







